module.exports = {
  appId: "com.sdcal.electron",
  productName: "SDCAL Pipe Calculator",
  directories: {
    output: "release"
  },
  asar: true,
  compression: "maximum",
  files: [
    "dist/**/*",
    "public/**/*",
    "package.json",
    "!*.md",
    "!tests/**/*",
    "!docs/**/*",
    "!node_modules/**/*.ts",
    "!node_modules/**/*.map",
    "!node_modules/**/*.spec.js",
    "!node_modules/**/__tests__/**/*"
  ],
  win: {
    target: "nsis",
    icon: "public/icons/IceCream.ico",
    signAndEditExecutable: false,
    forceCodeSigning: false
  },
  nsis: {
    oneClick: false,
    allowElevation: true,
    allowToChangeInstallationDirectory: true,
    installerIcon: "public/icons/IceCream.ico",
    uninstallerIcon: "public/icons/IceCream.ico",
    installerHeaderIcon: "public/icons/IceCream.ico",
    createDesktopShortcut: true,
    createStartMenuShortcut: true
  },
  npmRebuild: false,
  nodeGypRebuild: false,
  buildDependenciesFromSource: false
};